#pragma once

#include <vector>
#include <DirectXMath.h>
#include "Snapshot.h"

struct SquadNode
{
	DirectX::XMFLOAT4 rotation;
};

class SlerpInterpolator
{
public:
	SlerpInterpolator(const std::vector<Snapshot>& snapShots);
	~SlerpInterpolator(void);
	DirectX::XMVECTOR GetSlerpedRotation(double time);
private:
	std::vector<SquadNode> m_nodes;
};
